package com.example.abc.entity;

import org.springframework.security.core.GrantedAuthority;

/**
 * Created by Peter on 2018/4/26.
 * 用户权限
 */
public class UserAuthority implements GrantedAuthority {
    private Long id;
    private String uid;
    private Long authorityId;
    private String authority;
    private String create_date;

    public Long getAuthorityId() {
        return authorityId;
    }

    public void setAuthorityId(Long authorityId) {
        this.authorityId = authorityId;
    }

    public String getCreate_date() {
        return create_date;
    }

    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }
}
